package cn.itcast.service.company;

import cn.itcast.domain.company.Company;
import com.github.pagehelper.PageInfo;

import java.util.List;

public interface CompanyService {
    public List<Company> findAll();

    void deleteCompanyById(String id);

    void save(Company company);
    void updateCompany(Company company);

    Company findCompanyById(String id);

    PageInfo pageHelperFindAll(int pageNum, int pageSize);
}
